package com.khyr.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Map;

@Data
public class SchedulingDto {
    private Integer userId;
    private Integer deptId;
    private Integer subsectionType;//值班时间段 1-上午 2-下午 3-晚上
    private Collection<String> schedulingType=new ArrayList<>();

    @JsonIgnore //忽略该字段
    private Map<String,String> map; //{3-10:"",3-11:"1",}

    public SchedulingDto(Integer userId, Integer deptId, Integer subsectionType, Map<String, String> map) {
        this.userId = userId;
        this.deptId = deptId;
        this.subsectionType = subsectionType;
        this.map = map;
    }
}
